﻿using System;
using System.Collections.Generic;
using DataEntities.Base;

namespace DataEntities
{
    public class Sector:BusinesObjectBase
    {
        private string _info;
        private IList<Dogovor> _dogovorList;

        public virtual string Info { get { return _info; } set { _info = value; } }
        public virtual IList<Dogovor> DogovorList { get { return _dogovorList; } set { _dogovorList=value; } }

        protected Sector():this(0,""){}

        public Sector(int id,string info) : base(id)
        {
            _info = info;
        }
    }
}